package com.pie4cloud.pie.job.biz.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pie4cloud.pie.job.api.entity.JobInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: sod
 * @description:
 * @author: zzj
 * @create: 2019-12-25 10:56
 **/
@Mapper
public interface JobInfoMapper  extends BaseMapper<JobInfoEntity> {

    public List<JobInfoEntity> findJobList();

    public String findTypeById(Long id);

    public JobInfoEntity findById(Long id);


    public void updateTriggerStatus(@Param("triggerStatus")int triggerStatus, @Param("id")Long id);


}

